<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="fm" uri="http://www.springframework.org/tags/form" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'addInvitation.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
 <style>
			table{margin: auto;}
			
  </style>
  <body>
  <fm:form method="post" modelAttribute="rep">
    <table border="1" width="500px" >
		<tr>
			<td colspan="4" align="center" style="background-color: cornflowerblue;">添加回复</td>
		</tr>
		<tr>
			<td >回复内容：</td>
			<td>
				<fm:textarea cols="20" rows="10" path="content"></fm:textarea>
			</td>
		</tr>
		<tr>
			<td>回复昵称：</td>
			<td><fm:input path="author"/></td>
		</tr>
		<tr>
			<td colspan="4" align="center">
				<input type="submit" value="提交">
				<input type="button" value="返回"/>
			</td>
		</tr>
	</table>
	</fm:form>
  </body>
</html>
